package com.voidhd;

import com.csipsimple.ui.messages.EmoticonsAdapter;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.GridView;

public class Test_Grid_Emnoticons extends Activity {

	GridView gv;
	EmoticonsAdapter adapter;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_test__grid__emnoticons);
		gv= (GridView) findViewById(R.id.gridView1);
		int[] sIconIds = {
	            R.drawable.emo_im_happy,
	            R.drawable.emo_im_sad,
	            R.drawable.emo_im_winking,
	            R.drawable.emo_im_tongue_sticking_out,
	            R.drawable.emo_im_surprised,
	            R.drawable.emo_im_kissing,
	            R.drawable.emo_im_yelling,
	            R.drawable.emo_im_cool,
	            R.drawable.emo_im_money_mouth,
	            R.drawable.emo_im_foot_in_mouth,
	            R.drawable.emo_im_embarrassed,
	            R.drawable.emo_im_angel,
	            R.drawable.emo_im_undecided,
	            R.drawable.emo_im_crying,
	            R.drawable.emo_im_lips_are_sealed,
	            R.drawable.emo_im_laughing,
	            R.drawable.emo_im_wtf,
	            R.drawable.emo_im_bowtie//
	        };
		adapter=  new EmoticonsAdapter(this, sIconIds );
		gv.setAdapter(adapter);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.test__grid__emnoticons, menu);
		return true;
	}

}
